# -*- coding: utf-8 -*-
# @Time : 2021/2/2 14:26
# @Author : 加钱哥
# @Email : scg@gmail.com
# @File : runner_1.py
# @Project : test

import unittest
from HTMLTestReportCN import HTMLTestRunner
import time
suites=unittest.defaultTestLoader.discover("../cases/mission_agenda_case","test*.py")

now=time.strftime("%Y-%m-%d %H-%M-%S")
report_name="../report/crm_report_{}.html".format(now)
f=open(report_name,"wb")
runner=HTMLTestRunner(stream=f,title="这是我的测试报告",description="这是李海彬的测试报告")
runner.run(suites)
